/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.khanhhoi;

/**
 *
 * @author Long
 */
public class Utility {

    public static String EncodeHtml(String data) {
        return data.replace("\"", "\\\"").replaceAll("\n\n", "").replaceAll("(\\r|\\n)", "");

    }
}
